package com.zbdp.study.dwr3.service.impl;

import com.zbdp.study.dwr3.dao.IUserDAO;
import com.zbdp.study.dwr3.dao.impl.UserDAOImpl;
import com.zbdp.study.dwr3.model.User;
import com.zbdp.study.dwr3.service.IUserService;

public class UserServiceImpl implements IUserService {

	IUserDAO userDAO = new UserDAOImpl();

	public boolean save(User user) {
		return userDAO.save(user);
	}

	public User find(String id) {
		return userDAO.find(id);
	}

}
